namespace BM.Tools.WebControls.MForm.Navigation.XPath.Predicates
{
    /// <summary>
    /// A definition of a predicate that is a collection of inner predicates and returns the logical alternative from their results.
    /// </summary>
    public class AlternativesPredicate : ComplexPredicate
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="AlternativesPredicate"/> class. 
        /// </summary>
        /// <param name="predicates">
        /// The predicates.
        /// </param>
        public AlternativesPredicate(params Predicate[] predicates) : base(predicates)
        {
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="AlternativesPredicate"/> class. 
        /// </summary>
        /// <param name="texts">
        /// The texts.
        /// </param>
        public AlternativesPredicate(params string[] texts) : base(texts)
        {
        }
    }
}